﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace GraphicsEditor
{
    public class Undo
    {
        public Bitmap bitmap = null;

        //for selection undo stuff
        public bool isPaste = false;

        public bool isMoveOrSize = false;
        public Point pastePoint_Start;
        public Point pastePoint_Drop;

        public Undo(Point start, Point drop)
        {
            isMoveOrSize = true;
            pastePoint_Drop = drop;
            pastePoint_Start = start;
        }

        public Undo()
        {
            isPaste = true;
        }

        public Undo(Bitmap bmp)
        {
            bitmap = bmp;
        }
    }
}
